﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ServiceOfSansar.Models" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ServiceOfSansar.Models" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:complexType name="User">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="IsAuthentication" type="xs:boolean" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PositionNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" type="xs:boolean" />
          <xs:element minOccurs="0" name="UserId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="Result">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" type="xs:int" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RetData" nillable="true" type="xs:anyType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Result" nillable="true" type="tns:Result" />
  <xs:complexType name="ArrayOfUser">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="User" nillable="true" type="tns:User" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUser" nillable="true" type="tns:ArrayOfUser" />
  <xs:complexType name="ArrayOfRole">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Role" nillable="true" type="tns:Role" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRole" nillable="true" type="tns:ArrayOfRole" />
  <xs:complexType name="Role">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RoleId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Role" nillable="true" type="tns:Role" />
  <xs:complexType name="ArrayOfRoles">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Roles" nillable="true" type="tns:Roles" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRoles" nillable="true" type="tns:ArrayOfRoles" />
  <xs:complexType name="Roles">
    <xs:sequence>
      <xs:element minOccurs="0" name="Checked" type="xs:boolean" />
      <xs:element minOccurs="0" name="ParrentPerId" type="xs:int" />
      <xs:element minOccurs="0" name="PerId" type="xs:int" />
      <xs:element minOccurs="0" name="PerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PerOrder" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Roles" nillable="true" type="tns:Roles" />
  <xs:complexType name="Apartment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q3:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApartCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartNo1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartNo2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartOldCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="BankBranchNo" type="xs:int" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Id" type="xs:long" />
          <xs:element minOccurs="0" name="KontorNo" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Latt" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="Long" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="ObjectType" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ParentLinkCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PartNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PositionName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuarterCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SectionNo" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Status" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Apartment" nillable="true" type="tns:Apartment" />
  <xs:complexType name="Quarter">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q4:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="DistrictCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuarterCode" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Quarter" nillable="true" type="tns:Quarter" />
  <xs:complexType name="BankBranch">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q5:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="BankID" type="xs:int" />
          <xs:element minOccurs="0" name="BranchID" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BankBranch" nillable="true" type="tns:BankBranch" />
  <xs:complexType name="ArrayOfPosition">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Position" nillable="true" type="tns:Position" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPosition" nillable="true" type="tns:ArrayOfPosition" />
  <xs:complexType name="Position">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q6:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="DivisionNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PositionNo" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Position" nillable="true" type="tns:Position" />
  <xs:complexType name="Customer">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q7:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApartNo" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="CustCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustNo" type="xs:long" />
          <xs:element minOccurs="0" name="CustRegister" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustType" type="xs:int" />
          <xs:element minOccurs="0" name="DoorNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ExtraInfo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phones" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RegDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Status" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Customer" nillable="true" type="tns:Customer" />
  <xs:complexType name="vw_Customers">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q8="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q8:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApartCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartNo" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="ApartNo1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartNo2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustNo" type="xs:long" />
          <xs:element minOccurs="0" name="CustRegister" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CustType" type="xs:int" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DistName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DoorNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ExtraInfo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phones" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuarterName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RegDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Status" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="vw_Customers" nillable="true" type="tns:vw_Customers" />
  <xs:complexType name="Contract">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q9="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q9:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApartNo" type="xs:long" />
          <xs:element minOccurs="0" name="BalDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Balance" type="xs:decimal" />
          <xs:element minOccurs="0" name="BillCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CardNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Collector" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Company" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ContDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="ContractNo" type="xs:long" />
          <xs:element minOccurs="0" name="CurrProdCode" type="xs:int" />
          <xs:element minOccurs="0" name="CurrProdPrice" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="CustNo" type="xs:long" />
          <xs:element minOccurs="0" name="Details" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DoorNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Mail" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PauseDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="PayBank" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="PayType" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Status" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Contract" nillable="true" type="tns:Contract" />
  <xs:complexType name="ArrayOfvw_ContractEquipment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="vw_ContractEquipment" nillable="true" type="tns:vw_ContractEquipment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfvw_ContractEquipment" nillable="true" type="tns:ArrayOfvw_ContractEquipment" />
  <xs:complexType name="vw_ContractEquipment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q10="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q10:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="EquipCode" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="Quantity" type="xs:int" />
          <xs:element minOccurs="0" name="SerialCode" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="vw_ContractEquipment" nillable="true" type="tns:vw_ContractEquipment" />
  <xs:complexType name="PaySchedule">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q11="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q11:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ContractNo" type="xs:long" />
          <xs:element minOccurs="0" name="Id" type="xs:long" />
          <xs:element minOccurs="0" name="IsContract" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="PayAmount" type="xs:decimal" />
          <xs:element minOccurs="0" name="PayBal" type="xs:decimal" />
          <xs:element minOccurs="0" name="PayCount" type="xs:int" />
          <xs:element minOccurs="0" name="PayDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="PaydBal" nillable="true" type="xs:decimal" />
          <xs:element minOccurs="0" name="PaydCount" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PaySchedule" nillable="true" type="tns:PaySchedule" />
  <xs:complexType name="ArrayOfPaySchedule">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PaySchedule" nillable="true" type="tns:PaySchedule" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPaySchedule" nillable="true" type="tns:ArrayOfPaySchedule" />
  <xs:complexType name="Product">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q12="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q12:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CompanyNo" type="xs:int" />
          <xs:element minOccurs="0" name="InvoiceDay" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="IsNewCustomer" type="xs:boolean" />
          <xs:element minOccurs="0" name="Length" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="LengthOfAmount" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NextProdCode" type="xs:int" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="PriceOfDay" type="xs:decimal" />
          <xs:element minOccurs="0" name="ProdCode" type="xs:int" />
          <xs:element minOccurs="0" name="ProdType" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" type="xs:boolean" />
          <xs:element minOccurs="0" name="UtmCode" nillable="true" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Product" nillable="true" type="tns:Product" />
  <xs:complexType name="ProductView">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Product">
        <xs:sequence>
          <xs:element minOccurs="0" name="TypeName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductView" nillable="true" type="tns:ProductView" />
  <xs:complexType name="ArrayOfProductView">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ProductView" nillable="true" type="tns:ProductView" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProductView" nillable="true" type="tns:ArrayOfProductView" />
  <xs:complexType name="ArrayOfProductAndItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ProductAndItem" nillable="true" type="tns:ProductAndItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProductAndItem" nillable="true" type="tns:ArrayOfProductAndItem" />
  <xs:complexType name="ProductAndItem">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q13="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q13:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="ItemCode" type="xs:int" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="ProdCode" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductAndItem" nillable="true" type="tns:ProductAndItem" />
  <xs:complexType name="ProductsItem">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProductAndItem">
        <xs:sequence>
          <xs:element minOccurs="0" name="Category" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ItemName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductsItem" nillable="true" type="tns:ProductsItem" />
  <xs:complexType name="ArrayOfProductAndEquipment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ProductAndEquipment" nillable="true" type="tns:ProductAndEquipment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProductAndEquipment" nillable="true" type="tns:ArrayOfProductAndEquipment" />
  <xs:complexType name="ProductAndEquipment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q14="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q14:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="EquipCode" type="xs:int" />
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="ProdCode" type="xs:int" />
          <xs:element minOccurs="0" name="Quantity" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductAndEquipment" nillable="true" type="tns:ProductAndEquipment" />
  <xs:complexType name="ProductsEquipment">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProductAndEquipment">
        <xs:sequence>
          <xs:element minOccurs="0" name="EquipmentName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Unit" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductsEquipment" nillable="true" type="tns:ProductsEquipment" />
  <xs:complexType name="ArrayOfProductsItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ProductsItem" nillable="true" type="tns:ProductsItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProductsItem" nillable="true" type="tns:ArrayOfProductsItem" />
  <xs:complexType name="ArrayOfProductsEquipment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ProductsEquipment" nillable="true" type="tns:ProductsEquipment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProductsEquipment" nillable="true" type="tns:ArrayOfProductsEquipment" />
  <xs:complexType name="Item">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q15="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q15:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CompanyNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultPrice" type="xs:decimal" />
          <xs:element minOccurs="0" name="ItemCate" type="xs:int" />
          <xs:element minOccurs="0" name="ItemCode" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Speed" type="xs:decimal" />
          <xs:element minOccurs="0" name="Status" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Item" nillable="true" type="tns:Item" />
  <xs:complexType name="ItemRow">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Item">
        <xs:sequence>
          <xs:element minOccurs="0" name="CategoryName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CompanyName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ItemRow" nillable="true" type="tns:ItemRow" />
  <xs:complexType name="ArrayOfItemRow">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ItemRow" nillable="true" type="tns:ItemRow" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfItemRow" nillable="true" type="tns:ArrayOfItemRow" />
  <xs:complexType name="Equipment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q16="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q16:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CompanyNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EquipCode" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="Status" type="xs:boolean" />
          <xs:element minOccurs="0" name="Unit" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Equipment" nillable="true" type="tns:Equipment" />
  <xs:complexType name="EquipmentView">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Equipment">
        <xs:sequence>
          <xs:element minOccurs="0" name="CompanyName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="EquipmentView" nillable="true" type="tns:EquipmentView" />
  <xs:complexType name="ArrayOfEquipmentView">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="EquipmentView" nillable="true" type="tns:EquipmentView" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfEquipmentView" nillable="true" type="tns:ArrayOfEquipmentView" />
  <xs:complexType name="CallRequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q17="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q17:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Addition" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CloseReason" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CompanyNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ComplaintTypeNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ContractNo" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="CustUserName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DateOfClosed" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateOfPlaning" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateOfReceived" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Describe" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DistrictCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DoorNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsEngineer" type="xs:boolean" />
          <xs:element minOccurs="0" name="LevelNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Network" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PartNo" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuarterCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Reason1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Reason2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Reason3" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ReqNo" type="xs:long" />
          <xs:element minOccurs="0" name="ReqTypeNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SectionNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StatusNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserNoOfClosed" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="UserNoOfDid" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="UserNoOfReceived" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CallRequest" nillable="true" type="tns:CallRequest" />
  <xs:complexType name="CallComment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q18="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q18:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CommentDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="CommentNo" type="xs:long" />
          <xs:element minOccurs="0" name="ReqNo" type="xs:long" />
          <xs:element minOccurs="0" name="UserNo" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CallComment" nillable="true" type="tns:CallComment" />
  <xs:complexType name="CommentRow">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CallComment">
        <xs:sequence>
          <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CommentRow" nillable="true" type="tns:CommentRow" />
  <xs:complexType name="ArrayOfvw_CallRequest">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="vw_CallRequest" nillable="true" type="tns:vw_CallRequest" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfvw_CallRequest" nillable="true" type="tns:ArrayOfvw_CallRequest" />
  <xs:complexType name="vw_CallRequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q19="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q19:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Addition" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApartNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CloseReason" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CloseUser" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CompanyNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ComplaintTypeNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ContractNo" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="CustUserName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DateOfClosed" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateOfPlaning" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="DateOfReceived" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Describe" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DescribeName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DidUser" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DistrictCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DistrictName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DoorNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsEngineer" type="xs:boolean" />
          <xs:element minOccurs="0" name="LevelName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LevelNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Network" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PartNo" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuarterCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuarterName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Reason1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Reason2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Reason3" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RecvUser" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ReqNo" type="xs:long" />
          <xs:element minOccurs="0" name="ReqTypeNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SectionName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SectionNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StatusName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StatusNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TypeName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserNoOfClosed" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="UserNoOfDid" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="UserNoOfReceived" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="vw_CallRequest" nillable="true" type="tns:vw_CallRequest" />
  <xs:complexType name="ArrayOfCommentRow">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CommentRow" nillable="true" type="tns:CommentRow" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCommentRow" nillable="true" type="tns:ArrayOfCommentRow" />
  <xs:complexType name="Parameter">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q20="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q20:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CompanyNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GroupCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsMultiple" type="xs:boolean" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ParaCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ParentCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Parameter" nillable="true" type="tns:Parameter" />
  <xs:complexType name="ArrayOfParameter">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Parameter" nillable="true" type="tns:Parameter" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfParameter" nillable="true" type="tns:ArrayOfParameter" />
</xs:schema>